define([
    'jquery',
    'angular',
    'angular-couch-potato',
    'SunLight.gold',
    'angular-ui-router',
    //'angular-cookies',
    'angular-local-storage',
    //'angular-sanitize',
    'uiBootstrap',
    //'angular-toggle-switch',
    //'angular-audio',
    'angular-growl',
    //'backend-mocks',
    // 'adapter',
    //'ui-select',
    //'ui-tree',
    'angular-idle',
    'bootstrap-datetimepicker'
    ], function ($, angular, couchPotato) {

        'use strict';

        var app = angular.module('SunLight.gold', [
            'scs.couch-potato',
            'gold',
            'ui.router',
            //'ngCookies',
            'LocalStorageModule',
            //'ngSanitize',
            //'ngLocale',
            'ui.bootstrap',
            //'toggle-switch',
            //'ngAudio',
            'angular-growl',
            //'backend-mocks'
        ]);

        couchPotato.configureApp(app);
        return app;
});